
target_include_directories(${PROJECT_NAME}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/lib)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} bmi160_sensor_src)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/lib bmi160_package_src)

target_sources(${PROJECT_NAME}
    PRIVATE ${bmi160_sensor_src}
    PRIVATE ${bmi160_package_src})